﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Admin_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="CSS/ad_login.css" rel="stylesheet" type="text/css" />
    <title>Admin login</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="form_login">
        <div>
            <div>
                <asp:Label ID="lblUser" runat="server">User</asp:Label></div>
            <div>
                <asp:TextBox ID="txtUser" runat="server" />
                <asp:RequiredFieldValidator ID="rqvUser" runat="server" ControlToValidate="txtUser"
                    ErrorMessage="Please enter user" ForeColor="Red"></asp:RequiredFieldValidator>
            </div>
            <div>
                <div>
                    <asp:Label ID="lblPassword" runat="server">Password</asp:Label></div>
                <div>
                    <asp:TextBox ID="txtPassword" runat="server" />
                    <asp:RequiredFieldValidator ID="rqvPass" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="Please enter pass" ForeColor="Red"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                </div>
                <asp:Panel ID="pnlloginMessage" runat="server" Visible="false">
                    <div>
                        <asp:Label runat="server" ID="lblLoginMessage">Your user-name and password doesn't match any account!</asp:Label></div>
                </asp:Panel>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
